package com.study.concurrent.A_ThreadManagement.k_HandlingOfUncontrollableExceptionsInThreadGroups;

/**
 * Created by 赵超 on 2017/3/20.
 */
public class Main {
    public static void main(String[] args) {
        MyThreadGroup myThreadGroup = new MyThreadGroup("MyThreadGroup");
        Task task = new Task();
        for (int i = 0; i < 2; i++) {
            Thread thread = new Thread(myThreadGroup, task);
            thread.start();
        }
    }
}
